package com.yyplatform.frontend.infra.enums;


/**
 * Created on 2024-11-18
 */
public enum StatusEnums implements OptionEnum<Integer> {
    YES(1, "有效"),
    NO(0, "无效"),
    //
    ;


    StatusEnums(int value, String label) {
        this.value = value;
        this.label = label;
    }

    private int value;
    private String label;


    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getLabel() {
        return label;
    }
}
